<div id="editor_preview"></div>

<div class="editor">
	<p class="editor_buttons">
		<a href="#" id="bold" style="font-weight: bold;" rel="bbcode">B</a>
		<a href="#" id="italic" style="font-style: italic;" rel="bbcode">I</a>
		<a href="#" id="underline" style="text-decoration: underline;" rel="bbcode">U</a>
		<a href="#" id="img" rel="bbcode">IMG</a>
		<a href="#" id="url" rel="bbcode">URL</a>
		<a href="#" id="code" rel="bbcode">CODE</a>
		<a href="#" id="left" rel="bbcode">LEFT</a>
		<a href="#" id="right" rel="bbcode">RIGHT</a>
	</p>
	
	<p style="clear: left;">
		<?=$this->translate->_('editor_fontcolor')?>
		<select name="color" id="color">
			<option value="darkred" style="color: darkred;"><?=$this->translate->_('editor_darkred')?></option>
			<option value="brown" style="color: brown;"><?=$this->translate->_('editor_brown')?></option>
			<option value="red" style="color: red;"><?=$this->translate->_('editor_red')?></option>
			<option value="orange" style="color: orange;"><?=$this->translate->_('editor_orange')?></option>
			<option value="yellow" style="color: yellow;"><?=$this->translate->_('editor_yellow')?></option>
			<option value="olive" style="color: olive;"><?=$this->translate->_('editor_olive')?></option>
			<option value="lime" style="color: lime;"><?=$this->translate->_('editor_lime')?></option>
			<option value="green" style="color: green;"><?=$this->translate->_('editor_green')?></option>
			<option value="teal" style="color: teal;"><?=$this->translate->_('editor_teal')?></option>
			<option value="cyan" style="color: cyan;"><?=$this->translate->_('editor_cyan')?></option>
			<option value="blue" style="color: blue;"><?=$this->translate->_('editor_blue')?></option>
			<option value="darkblue" style="color: darkblue;"><?=$this->translate->_('editor_darkblue')?></option>
			<option value="indigo" style="color: indigo;"><?=$this->translate->_('editor_indigo')?></option>
			<option value="violet" style="color: violet;"><?=$this->translate->_('editor_violet')?></option>
			<option value="fuchsia" style="color: fuchsia;"><?=$this->translate->_('editor_fuchsia')?></option>
			<option value="white" style="color: white;"><?=$this->translate->_('editor_white')?></option>
			<option value="gray" style="color: gray;"><?=$this->translate->_('editor_gray')?></option>
			<option value="silver" style="color: silver;"><?=$this->translate->_('editor_silver')?></option>
			<option value="black" style="color: black;" selected><?=$this->translate->_('editor_black')?></option>
		</select> 
		
		<?=$this->translate->_('editor_fontsize')?>
		<select name="size" id="size">
			<option value="8">8</option>
			<option value="9">9</option>
			<option value="10">10</option>
			<option value="11">11</option>
			<option value="12" selected="selected">12</option>
			<option value="14">14</option>
			<option value="16">16</option>
			<option value="18">18</option>
			<option value="20">20</option>
			<option value="22">22</option>
			<option value="24">24</option>
			<option value="26">26</option>
			<option value="28">28</option>
			<option value="36">36</option>
			<option value="48">48</option>
			<option value="72">72</option>
		</select>
	</p>
	
	<textarea name="text" id="text" style="width:95%; height:150px;"><?if($this->text): echo $this->text; endif;?></textarea>
	<br />
	<?=$this->captcha?>
	
	<?if(!$this->deactivateSmileyCheckbox):?>
		<p><input type="checkbox" value="1" id="smilies" name="smilies" checked="checked" /> <label for="smilies"><?=$this->translate->_('post_smilies_activate')?></label></p>
	<?endif;?>
	<p><input type="submit" name="submit" id="submit" value="<?=$this->translate->_('form_save')?>" /></p>
</div>